# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-wasabi
_pkgname=wasabi
pkgver=1.1.3
pkgrel=3
pkgdesc='Lightweight console printing and formatting toolkit.'
arch=('any')
url='https://pypi.org/project/wasabi/'
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha512sums=('ce687673c7088913cd7c52f3d50e69e0a385177357cc616742f9125073059c353069c010a3c579c4447c554ece99a9d3c823b02914983cb4ce919087bec99375')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

